package org.lds.message.center.aliyun.health.endpoint;

import org.lds.message.center.aliyun.constant.AliyunSmsConstant;
import org.lds.message.center.common.constant.CommonConstant;
import org.lds.message.center.common.model.ResultDTO;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/" + AliyunSmsConstant.CHANNEL_TYPE + "/" + AliyunSmsConstant.CHANNEL_NAME)
public class AliyunSmsHealthEndpoint {
    @GetMapping(CommonConstant.HEALTH)
    ResultDTO health() {
        return ResultDTO.success();
    }
}
